package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 站内消息对象 basicInStationMessage
 * 
 * @author ruoyi
 * @date 2025-03-02
 */
public class BasicInStationMessage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 站内消息编号 */
    private Long inStationMessageId;

    /** 发送者id */
    @Excel(name = "发送者id")
    private Long senderId;

    /** 接收者id */
    @Excel(name = "接收者id")
    private Long receiverId;

    /** 消息标题 */
    @Excel(name = "消息标题")
    private String messageTitle;

    /** 消息内容 */
    @Excel(name = "消息内容")
    private String messageContent;

    /** 发送时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "发送时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date sendTime;

    /** 阅读状态 */
    @Excel(name = "阅读状态")
    private Integer readStatus;

    /** 标记状态 */
    @Excel(name = "标记状态")
    private String markStatus;

    /** 创建人 */
    @Excel(name = "创建人")
    private String creator;

    /** 上次更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "上次更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastUpdateTime;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updater;

    public void setInStationMessageId(Long inStationMessageId) 
    {
        this.inStationMessageId = inStationMessageId;
    }

    public Long getInStationMessageId() 
    {
        return inStationMessageId;
    }
    public void setSenderId(Long senderId) 
    {
        this.senderId = senderId;
    }

    public Long getSenderId() 
    {
        return senderId;
    }
    public void setReceiverId(Long receiverId) 
    {
        this.receiverId = receiverId;
    }

    public Long getReceiverId() 
    {
        return receiverId;
    }
    public void setMessageTitle(String messageTitle) 
    {
        this.messageTitle = messageTitle;
    }

    public String getMessageTitle() 
    {
        return messageTitle;
    }
    public void setMessageContent(String messageContent) 
    {
        this.messageContent = messageContent;
    }

    public String getMessageContent() 
    {
        return messageContent;
    }
    public void setSendTime(Date sendTime) 
    {
        this.sendTime = sendTime;
    }

    public Date getSendTime() 
    {
        return sendTime;
    }
    public void setReadStatus(Integer readStatus) 
    {
        this.readStatus = readStatus;
    }

    public Integer getReadStatus() 
    {
        return readStatus;
    }
    public void setMarkStatus(String markStatus) 
    {
        this.markStatus = markStatus;
    }

    public String getMarkStatus() 
    {
        return markStatus;
    }
    public void setCreator(String creator) 
    {
        this.creator = creator;
    }

    public String getCreator() 
    {
        return creator;
    }
    public void setLastUpdateTime(Date lastUpdateTime) 
    {
        this.lastUpdateTime = lastUpdateTime;
    }

    public Date getLastUpdateTime() 
    {
        return lastUpdateTime;
    }
    public void setUpdater(String updater) 
    {
        this.updater = updater;
    }

    public String getUpdater() 
    {
        return updater;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("inStationMessageId", getInStationMessageId())
            .append("senderId", getSenderId())
            .append("receiverId", getReceiverId())
            .append("messageTitle", getMessageTitle())
            .append("messageContent", getMessageContent())
            .append("sendTime", getSendTime())
            .append("readStatus", getReadStatus())
            .append("markStatus", getMarkStatus())
            .append("createTime", getCreateTime())
            .append("creator", getCreator())
            .append("lastUpdateTime", getLastUpdateTime())
            .append("updater", getUpdater())
            .toString();
    }
}
